com.sabro.jbusiness.sys
Enum SysTarefa.Periodicidade

java.lang.Object
  extended by java.lang.Enum<SysTarefa.Periodicidade>
      extended by com.sabro.jbusiness.sys.SysTarefa.Periodicidade
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SysTarefa.Periodicidade>
Enclosing class:
SysTarefa

public static enum SysTarefa.Periodicidade
extends java.lang.Enum<SysTarefa.Periodicidade>

Tipos de intervalo de execução de tarefas


Enum Constant Summary
Diária
           
Horária
           
Mensal
           
Nenhuma
           
Semanal
           
SQLAgentIniciar
           
 
Method Summary
static SysTarefa.Periodicidade getPeriodicidade(int codigo)
           
 int getPeriodicidadeNum()
           
static SysTarefa.Periodicidade valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SysTarefa.Periodicidade[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Horária

public static final SysTarefa.Periodicidade Horária

Diária

public static final SysTarefa.Periodicidade Diária

Semanal

public static final SysTarefa.Periodicidade Semanal

Mensal

public static final SysTarefa.Periodicidade Mensal

Nenhuma

public static final SysTarefa.Periodicidade Nenhuma

SQLAgentIniciar

public static final SysTarefa.Periodicidade SQLAgentIniciar
Method Detail

values

public static SysTarefa.Periodicidade[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SysTarefa.Periodicidade c : SysTarefa.Periodicidade.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SysTarefa.Periodicidade valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getPeriodicidadeNum

public int getPeriodicidadeNum()

getPeriodicidade

public static SysTarefa.Periodicidade getPeriodicidade(int codigo)